package com.newear.marathon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.newear.marathon.dto.admin.inquiry.*;
import com.newear.marathon.dto.admin.maintenance.*;
import com.newear.marathon.entity.admin.AdminRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author MicroBin
 * @since 2019-04-20
 */
public interface IAdminRoleService extends IService<AdminRole>
{

    AdminRoleSelectInquiryResponseDTO doRoleInquirySelect();

    AdminRoleAdditionResponseDTO doRoleAddition(AdminRoleAdditionRequestDTO requestDTO);

    AdminRoleInquiryPageResponseDTO doRoleInquiryPage(AdminRoleInquiryPageRequestDTO requestDTO);

    AdminRoleModifyResponseDTO doRoleModify(AdminRoleModifyRequestDTO requestDTO);

    AdminRoleModifyStatusResponseDTO doRoleModifyStatus(AdminRoleModifyStatusRequestDTO requestDTO);

    AdminRoleModifyInquiryResponseDTO doRoleModifyInquiry(AdminRoleModifyInquiryRequestDTO requestDTO);

    AdminRoleAuthInquiryResponseDTO doRoleAuthInquiry(AdminRoleAuthInquiryRequestDTO requestDTO);

    AdminRoleAuthResponseDTO doRoleAuth(AdminRoleAuthRequestDTO requestDTO);

    List<AdminRole> findByUserId(Integer userId);
}
